Record the exact Boost version used at build time to ensure
compatibility and trigger rebuilds on upgrades.
dh-sequence-javahelper,
libalglib-dev,
javahelper,
+ libboost-dev,
libadios2-mpi-c++-dev [amd64 arm64 loong64 mips64el ppc64el riscv64 s390x alpha hurd-amd64 ppc64 sparc64],
libavcodec-dev,
libavformat-dev,
${shlibs:Depends},
default-jdk [!hppa !hurd-any],
default-libmysqlclient-dev,
+ libboost-dev (= ${boost:Version}),
libavcodec-dev,
libavformat-dev,
libavutil-dev,
find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/raw\.githubusercontent\.com//g'
find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.jsdelivr\.net\/npm\/mathjax@2/\/usr\/share\/javascript\/mathjax/g'
+# Record the exact Boost version used at build time so that libvtk9-dev
+# pulls in the same version and triggers a rebuild when Boost is upgraded.
+execute_before_dh_gencontrol:
+ echo "boost:Version=$$(dpkg-query -W -f='$${Version}' libboost-dev)" >> debian/libvtk9-dev.substvars
+
ifeq ($(DEB_HOST_ARCH),sh4)
override_dh_dwz:
dh_dwz -X libvtkCommonCore